//
//  CollectionViewCell.m
//  DouBan
//
//  Created by dllo on 16/6/25.
//  Copyright © 2016年 zuzhiming. All rights reserved.
//

#import "CollectionViewCell.h"
#import "CinemaModel.h"
@interface CollectionViewCell ()
@property (retain, nonatomic) IBOutlet UILabel *firsttLabel;
@property (retain, nonatomic) IBOutlet UILabel *secondLabel;

@property (retain, nonatomic) IBOutlet UILabel *thirdLabel;

@end


@implementation CollectionViewCell

- (void)setModel:(CinemaModel *)model
{
    if (_model != model) {
        [_model release];
        _model = [model retain];
    }
    
    self.firsttLabel.text = model.cinemaName;
    self.secondLabel.text = model.address;
    self.thirdLabel.text = model.telephone;
}


- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)dealloc {
    [_firsttLabel release];
    [_secondLabel release];
    [_thirdLabel release];
    [_model release];
    [super dealloc];
}
@end
